package com.xin.libandroidpaysocial.share;

import android.content.Context;
import android.os.Bundle;

import com.tencent.connect.auth.QQToken;
import com.tencent.connect.auth.c;
import com.tencent.connect.common.BaseApi;
import com.tencent.open.utils.HttpUtils;
import com.tencent.open.utils.d;
import com.tencent.tauth.IUiListener;

public class QQUserInfo2 extends BaseApi {
    public static final String GRAPH_OPEN_ID = "oauth2.0/m_me";

    public QQUserInfo2(Context var1, QQToken var2) {
        super(var2);
    }

    public QQUserInfo2(Context var1, c var2, QQToken var3) {
        super(var2, var3);
    }

    public void getUserInfo(IUiListener var1) {
        Bundle var2 = this.a();
        TempRequestListener var3 = new TempRequestListener( var1);
        HttpUtils.requestAsync(this.b, d.a(), "user/get_user_info", var2, "GET", var3);
    }

    public void getOpenId(IUiListener var1) {
        Bundle var2 = this.a();
        TempRequestListener var3 = new TempRequestListener(var1);
        HttpUtils.requestAsync(this.b, d.a(), "oauth2.0/m_me", var2, "GET", var3);
    }
}
